/*
 * @Author: qin
 * @Date:   2018-08-28
 * +----------------------------------------------------------------------
 * | admin [ 后台管理系统公共配置信息 ]
 * | 开发环境，审查图纸模块
 * +----------------------------------------------------------------------
 */
layui.define(['configure', 'configureCom'], function (exports) {
    var configureCom = layui.configureCom;
    var configure = layui.configure;
    var checkDrawing = {
        //获取专业&图纸列表
        getTree: function (data) {
            return new Promise(function (resolve, reject) {
                configureCom.getAjax(configure.EXPERT_ALL_SPECIATY_DRAWING_TREE_HTTP, data).then(function (res) {
                    resolve(res);
                });
            });
        }
    };
    exports('checkDrawing', checkDrawing);
});